Bug 551063 – deprecated marking without a link to what new code should
authorSven Herzberg <sven@imendio.com>
Sat, 6 Sep 2008 17:26:33 +0000 (17:26 +0000)
committerSven Herzberg <herzi@src.gnome.org>
Sat, 6 Sep 2008 17:26:33 +0000 (17:26 +0000)
2008-09-06  Sven Herzberg  <sven@imendio.com>

        Bug 551063 – deprecated marking without a link to what new code should
        use

        * gdk/tmpl/input.sgml: dropped tmpl documentation for gdk_input_add()
        and gdk_input_add_full()
        * gdk/gdkevents.c: added inline documentation for gdk_input_add() and
        gdk_input_add_full(); added replacement hints into the deprecation
        message

svn path=/trunk/; revision=21305

ChangeLog
docs/reference/ChangeLog
docs/reference/gdk/tmpl/input.sgml
gdk/gdkevents.c

index a693df95db1cacc49fcfe372fc6888bb9756ec65..2c58446c2b670ff1fa6b392b9db063942469b97c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2008-09-06  Sven Herzberg  <sven@imendio.com>
+
+       Bug 551063 – deprecated marking without a link to what new code should
+       use
+
+       * gdk/gdkevents.c: added inline documentation for gdk_input_add() and
+       gdk_input_add_full(); added replacement hints into the deprecation
+       message
+
 2008-09-05  Michael Natterer  <mitch@imendio.com>
 
        * gtk/gtkfilechooserdefault.c (file_list_drag_data_received_cb):
index 848de72ec6b57ce7554f9455b9f060223340584b..7af44421ba996da8ead56306fc0f818e4ade72ff 100644 (file)
@@ -1,3 +1,11 @@
+2008-09-06  Sven Herzberg  <sven@imendio.com>
+
+       Bug 551063 – deprecated marking without a link to what new code should
+       use
+
+       * gdk/tmpl/input.sgml: dropped tmpl documentation for gdk_input_add()
+       and gdk_input_add_full()
+
 2008-09-06  Stefan Kost  <ensonic@users.sf.net>
 
        * gdk-pixbuf/gdk-pixbuf-csource.xml:
index 87e3aa2f105318e0393557231305af0188d06647..0226a2a4668f4a6eeefebf85a0b4ae7899eb3eee 100644 (file)
@@ -35,19 +35,14 @@ callbacks.</para></listitem>
 
 
 <!-- ##### FUNCTION gdk_input_add_full ##### -->
-<para>
-Establish a callback when a condition becomes true on
-a file descriptor.
-</para>
 
-@source: a file descriptor.
-@condition: the condition.
-@function: the callback function.
-@data: callback data passed to @function.
-@destroy: callback function to call with @data when the input
-  handler is removed.
-@Returns: a tag that can later be used as an argument to
- gdk_input_remove().
+
+@source: 
+@condition: 
+@function: 
+@data: 
+@destroy: 
+@Returns: 
 
 
 <!-- ##### ENUM GdkInputCondition ##### -->
@@ -88,17 +83,6 @@ structure or object that @data points to.
 
 
 <!-- ##### FUNCTION gdk_input_add ##### -->
-<para>
-Establish a callback when a condition becomes true on
-a file descriptor.
-</para>
-
-@source: a file descriptor.
-@condition: the condition.
-@function: the callback function.
-@data: callback data passed to @function.
-@Returns: a tag that can later be used as an argument to
- gdk_input_remove().
 
 
 <!-- ##### FUNCTION gdk_input_remove ##### -->
index fde9ab125a3ca66f8583a5b92ef83799d82c5d57..24a29a1fd96e8b560f380ed4175e7cae3cf2707b 100644 (file)
@@ -1015,6 +1015,23 @@ gdk_io_invoke (GIOChannel   *source,
   return TRUE;
 }
 
+/**
+ * gdk_input_add_full:
+ * @source: a file descriptor.
+ * @condition: the condition.
+ * @function: the callback function.
+ * @data: callback data passed to @function.
+ * @destroy: callback function to call with @data when the input
+ * handler is removed.
+ *
+ * Establish a callback when a condition becomes true on
+ * a file descriptor.
+ *
+ * Returns: a tag that can later be used as an argument to
+ * gdk_input_remove().
+ *
+ * Deprecated: Use g_io_add_watch_full() on a #GIOChannel
+ */
 gint
 gdk_input_add_full (gint             source,
                    GdkInputCondition condition,
@@ -1048,6 +1065,21 @@ gdk_input_add_full (gint       source,
   return result;
 }
 
+/**
+ * gdk_input_add:
+ * @source: a file descriptor.
+ * @condition: the condition.
+ * @function: the callback function.
+ * @data: callback data passed to @function.
+ *
+ * Establish a callback when a condition becomes true on
+ * a file descriptor.
+ *
+ * Returns: a tag that can later be used as an argument to
+ * gdk_input_remove().
+ *
+ * Deprecated: Use g_io_add_watch() on a #GIOChannel
+ */
 gint
 gdk_input_add (gint             source,
               GdkInputCondition condition,